Skip to content

Update Hub password settings

Request

Modifies Hub password settings.

Security
ApiKeyAuth
Path
subdomainstringrequired

Unique subdomain of requested Hub.

Query
api_versionstring

Api version

Value:"V3-R1"
Bodyapplication/json
enabledboolean
passwordstring, [ 8 .. 255 ] characters
curl -i -X PUT \
  'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/access_restriction/global_password?api_version=V3-R1' \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "enabled": true,
    "password": "stringst"
  }'

Responses

OK

Bodyapplication/json
enabledboolean
Response
{ "enabled": true }